<template>
  <div>
    <p>未到找指定页面</p>
    <el-button @click="back">返回页面</el-button>
  </div>
</template>

<script>
export default {
  name: 'error',
  data () {
    return {
    }
  },
  methods: {
    back () {
      this.$router.back()
    },
  },
}
</script>

<style scoped>
div {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f8f5ec;
  text-align: center;
}

p {
  margin: 50px 0;
}
</style>